package cn.bugstack.springframework.beans.factory;

import cn.bugstack.springframework.beans.BeansException;

/**
 * 工厂类
 * @author oyz
 */
public interface BeanFactory {

    public Object getBean(String beanName) throws BeansException;

    Object getBean(String beanName,Object...args) throws BeansException;


}
